package com.storage.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 品牌表 storage_brand
 * 
 * @author storage
 * @date 2019-08-18
 */
@ApiModel(value = "品牌对象")
public class StorageBrand implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	/** 品牌id */
	@ApiModelProperty(value = "品牌id")
	private Long id;
	/** 品牌名称 */
	@ApiModelProperty(value = "品牌名称")
	private String brandName;
	/** 品牌拥有者类型:1-代理商;2-店铺 */
	@ApiModelProperty(value = "品牌拥有者类型:1-代理商;2-店铺")
	private Integer ownerType;
	/** 品牌创建人id */
	@ApiModelProperty(value = "品牌创建人id")
	private Long createUserId;
	/** 修改时间 */
	@ApiModelProperty(value = "修改时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date modifyTime;
	/** 创建时间 */
	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setBrandName(String brandName) 
	{
		this.brandName = brandName;
	}

	public String getBrandName() 
	{
		return brandName;
	}
	public void setCreateUserId(Long createUserId) 
	{
		this.createUserId = createUserId;
	}

	public Long getCreateUserId() 
	{
		return createUserId;
	}
	public void setModifyTime(Date modifyTime) 
	{
		this.modifyTime = modifyTime;
	}

	public Date getModifyTime() 
	{
		return modifyTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getOwnerType() {
		return ownerType;
	}

	public void setOwnerType(Integer ownerType) {
		this.ownerType = ownerType;
	}
}
